﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
   public class Orders
    {
        public Orders()
        {
            this.OrdersDetail = new HashSet<OrdersDetail>();
        }

        public int OrderID { get; set; }
        public string OrderNum { get; set; }
        public System.DateTime OrderDate { get; set; }
        public decimal Amount { get; set; }
        public int UserID { get; set; }
        public int State { get; set; }
        public string ShippingAdd { get; set; }
        public System.DateTime DeliveryDate { get; set; }

        public virtual UserInfo UserInfo { get; set; }
        public virtual ICollection<OrdersDetail> OrdersDetail { get; set; }
    }
}
